package cn.yh.hospitalappointmentsystemdemo.mapper;

import cn.yh.hospitalappointmentsystemdemo.domain.entity.User;
import cn.yh.hospitalappointmentsystemdemo.domain.vo.DoctorVo;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository

public interface DoctorsMapper {
    User loginByUsername(@Param("username") String username);

    DoctorVo selectById(@Param("doctorId") Long doctorId);

    List<DoctorVo> selectByHospital(@Param("hospitalId") Long hospitalId, @Param("departmentId") Long departmentId);
}
